*::before,*::after{
padding: 0;
margin: 0;
}
li{
    direction: none;
}
body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.wrapper{
    overflow: hidden;
    position: relative;
    width: 380px;
    background: #ffffff;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}
.wrapper i{
    cursor: pointer;
}
.top-bar,.progress-area .timer,
.controls,.music-list .header,.music-list li{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-bar i{
    font-size: 30px;
    color: #515c6f;
}
.top-bar span{
    font-size: 18px;
    color: #515c6f
}
.img-area{
    height: 256px;
    width: 100%;
  margin-top: 10px;
  overflow: hidden;
    /* background: red; */
    border-radius: 15px;
    box-shadow: 0px 6px 10px #515c6f;
}
.img-area img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.song-details{
    text-align: center;
    /* margin: 10px 0; */
}
.song-details .name{
    font-size: 21px;
    /* margin: 0; */
    color: #515c6f;
}
.progress-area{
    height: 6px;
    width: 100%;
    background: #f0f0f0;
    border-radius: 50px;
    cursor: pointer;
}
.progress-area .progress-bar{
    height: inherit;
    position: relative;
    width: 50%;
    border-radius: inherit;
    background:linear-gradient(90deg,#ff74a4 0%,#9f6ea3 100%);

}
.progress-bar ::before{
    content: "";
    position: absolute;
    height: 12px;
    width: 12px;
    background: #000;
    border-radius: inherit;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    background: inherit;
    opacity: 0;
  
}
.progress-area:hover .progress-bar::before{
    opacity: 1;

}
.progress-area .timer{
    margin-top: 2px;
}
.timer span{
    font-size: 15px;
    color: #515c6f;
}
.controls{
    margin: 40px 0px 5px 0 ;
}
.controls i{
    font-size: 28px;
    user-select: none;

}
.music-list{
    position: absolute;
    bottom: -55%;
    opacity: 0;
    /* pointer-event:none;元素不会成为鼠标事件的target */
    pointer-events: none;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    transition: all 0.14s ease-out;
}
.music-list.show{
    bottom: 0;
    opacity: 1;
    pointer-events: auto;
}
.music-list .header .row{
    display: flex;
    align-items: center;
    font-size: 19px;
    color: #515c6f;
    padding:30px 0 0 30px;
}
.music-list .header .icon-cuowu{
    padding:30px 30px 0 0 ;
    color: #515c6f;
}
.music-list .audio-duration{
    padding-right:30px ;
}
.header .row i{
    cursor: default;
}
.header .row span{
    margin-left: 5px;
}
.music-list ul{
    margin: 10px 0;
    max-height: 260px;
    overflow-y: auto;
}
.music-list ul::-webkit-scrollbar{
    width: 0px;
}
.music-list ul li{
    list-style: none;
    padding-bottom: 10px;
    margin-bottom: 5px;
    color: #515c6f;
    cursor: pointer;
    border-bottom: 1px solid #e5e5e5;
}
.music-list ul li:last-child{
    border-bottom: 0;
}
.icon-bofangzhong{
    z-index: 999;
}
ul li.playing{
    color: #ff74a4;
    pointer-events: none;
}